package com.atguigu.orderservice.service;

import com.atguigu.orderservice.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 订单服务接口
 * @author daygods
 * @since 2025-07-15
 */
public interface OrderService extends IService<Order> {

    /**
     * 生成订单的方法
     * @param courseId 课程id
     * @param memberIdByJwtToken 会员id
     * @return 订单号
     */
    String createOrders(String courseId, String memberIdByJwtToken);
}